<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Page Generator Scrtip | Najeeb Ahmad</title>
<style>
#wrapper
{
	margin:auto;
	width:600px;
	height:500px;
	background:#CCC;
	border:#666 1px solid;
}

#tbl
{
	margin:auto;
	width:500px;
}

#alert
{
	border:#0C3;
	height:15px;
}
</style>
</head>

<body>
<div id="wrapper">
	<?php
	if($_GET['cmd'])
	{
		echo '<div id="alert">'.$_GET['cmd'].'</div>';
	}
	?>
	<h1>Page Generator Script for MVC</h1>
    
    <div id="tbl">
    <form action="page.gen.php" method="post">
        <table width="100%" border="0">
      <tr>
        <td width="45%">Enter File Name (without .php):</td>
        <td width="55%"><input type="text" name="_filename" /></td>
      </tr>
      <tr>
        <td width="45%">Information:</td>
        <td width="55%"><input type="text" name="_info" /></td>
      </tr>
      <tr>
        <td width="45%">Created by:</td>
        <td width="55%"><input type="text" name="_author" /></td>
      </tr>
      <tr>
        <td width="45%">Theme/Template:</td>
        <td width="55%"><input type="text" name="_theme" /></td>
      </tr>
      <tr>
        <td width="45%"><input type="submit" value="Generate" /></td>
        <td width="55%"></td>
      </tr>
    </table>
    </form>
	</div>

</div>
</body>
</html>